@import 'template/template.css';
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    background-color: #f5f5f5;
    font-size: 12px;
    font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
    height: 100%;
}

/** common **/
.ui-content {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 20px;
    background-color: #fff;
}

.ui-button {
    padding: 5px 10px;
    width: 100%;
    height: 44px;
    line-height: 34px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}
.ui-button.button-hover {
    opacity: .8;
}

.g-hover {
    opacity: 0.8;
}

/** module **/
/* ad */
.m-adbox image {
    display: block;
    width: 100%;
    overflow: initial;
}
/* gallery */
.m-gallery {
    font-size: 12px;
    overflow: hidden;
}
.m-gallery .m-gallery-item {
    float: left;
    padding-bottom: 8px;
    width: 50%;
    text-align: center;
    overflow: hidden;
}
.m-gallery .m-gallery-item:nth-child(2n+1) {
    padding-right: 5px;
}
.m-gallery .m-gallery-item:nth-child(2n) {
    padding-left: 5px;
}
.m-gallery .m-gallery-image {
    width: 100%;
    font-size: 0;
    background-color: #f3f3f3;
}
.m-gallery .m-gallery-title {
    line-height: 24px;
    color: #333;
}
/* image-text */
.m-image-text {
    padding: 5px;
    background-color: #fff;
}
.m-image-text .m-image-text-item {
    display: flex;
    padding: 5px;
    width: 100%;
    height: 74px;
    overflow: hidden;
}
.m-image-text .m-image-text-item .image-box {
    margin-right: 12px;
    width: 100px;
    vertical-align: top;
}
.m-image-text .m-image-text-item .image-box image {
    width: 100%;
    height: 100%;
    vertical-align: top;
    background-color: #f9f9f9;
}
.m-image-text .m-image-text-item .text-box {
    flex: 1;
    font-size: 12px;
    line-height: 18px;
    vertical-align: top;
}
.m-image-text .m-image-text-item .text-box .title {
    height: 36px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}
.m-image-text .m-image-text-item .text-box .date-time {
    margin-top: 10px;
    color: #999;
}
.m-image-text .g-hover {
    background-color: #f6f6f6;
}

/***  ui  ***/
.ui-loading {
    margin: 20px 0 10px;
    padding: 5px 10px;
    font-size: 14px;
    color: #999;
    text-align: center;
}